<template>
	<view>
		<scroll-view scroll-y class="page">
			<!-- 头部 -->
			<cu-custom bgColor="bg-rgb" :isBack="true">
				<block slot="backText">返回</block>
				<block slot="content">维修</block>
			</cu-custom>
			<view class="check-box">
				<view class="check-repair-type" @click="goRepair('yzy')">
					溢哲渝维修
				</view>
				<view class="check-repair-type" @click="goRepair('zs')">
					宗申维修
				</view>
			</view>

		</scroll-view>
	</view>
</template>

<script>
	export default {
		name: 'zsTest',
		data() {
			return {

			}
		},
		methods:{
			goRepair(type){
				this.$Router.push({
					name: 'zrepairList',
					params:{
						type:type,
					}
				})
			}
		}
	}
</script>

<style lang="less">
	page {
		background-color: #f1f1f1;
	}

	.check-box {
		display: flex;
		justify-content: space-between;
		margin-top: 20rpx;
	}

	.check-repair-type {
		text-align: center;
		padding: 12px;
		border-radius: 5px;
		width: 45%;
		margin: 0 2.5% 17px;
		background-image: url(https://cdn.nlark.com/yuque/0/2019/png/280374/1552996358352-assets/web-upload/cc3b1807-c684-4b83-8f80-80e5b8a6b975.png);
		background-size: cover;
		background-position: center;
		position: relative;
		background-color: #1cbbb4;
		color: #ffffff;
	}
</style>
